package com.net.xpay.common.manager.partner;

import com.net.xpay.common.domain.partner.PartnerInsiderSettleLog;
import com.net.xpay.core.model.PartnerInsiderSettleLogSearchModel;
import com.net.common.manager.DomainManager;

import java.math.BigDecimal;
import java.util.List;


public interface PartnerInsiderSettleLogManager extends DomainManager<Long, PartnerInsiderSettleLog> {


    List<PartnerInsiderSettleLog> search(PartnerInsiderSettleLogSearchModel searchModel);

    long searchCount(PartnerInsiderSettleLogSearchModel searchModel);

    BigDecimal sumPartnerSettleAmount(PartnerInsiderSettleLogSearchModel searchModel);

    PartnerInsiderSettleLog findByMonthOfYear(Integer year, Integer month, Long userId);
}
